* {
    margin: 0;
    padding: 0;
}

html,
body,
#root {
    width: 100%;
    height: 100%;
}

.box {
    width: 100%;
    background: #e7eaee;
    .title {
        width: 100%;
        height: 100px;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        p:nth-child(1) {
            font-size: 20px;
            font-weight: 600;
        }
        p:nth-child(2) {
            font-size: 16px;
        }
    }
    .msgboard {
        width: 60%;
        margin: 0 auto;
        margin-top: 20px;
        .h1 {
            width: 90%;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;
        }
        .publish {
            width: 100%;
            height: 222px;
            background-color: white;
            .form {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                .pub {
                    width: 94%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    .text {
                        width: 100%;
                        height: 142px;
                        margin-top: 20px;
                    }
                }
                .fItem {
                    width: 90%;
                    height: 50px;
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    Button {
                        float: right;
                    }
                }
            }
        }
        .msg {
            width: 100%;
            display: flex;
            flex-direction: column;
            .item {
                width: 100%;
                background-color: white;
                margin-top: 20px;
                display: flex;
                flex-direction: column;
                >p:nth-child(1) {
                    align-items: center;
                    display: flex;
                    margin-left: 10px;
                    margin-top: 10px;
                    span:nth-child(1) {
                        display: inline-block;
                        width: 30px;
                        height: 30px;
                        border-radius: 50%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        color: white;
                        margin-right: 10px;
                        font-size: 18px;
                    }
                    span:nth-child(2) {
                        font-size: 15px;
                        font-weight: 700;
                    }
                }
                >p:nth-child(2) {
                    margin-left: 50px;
                    font-size: 16px;
                }
                >p:nth-child(3) {
                    margin-left: 50px;
                    color: #ccc;
                    font-size: 16px;
                    span:nth-child(2) {
                        margin-left: 5px;
                        font-size: 14px;
                        margin-right: 15px;
                    }
                    span:nth-child(3) {
                        font-size: 14px;
                    }
                }
                .form {
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    .cont {
                        width: 94%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        .text {
                            width: 100%;
                            height: 142px;
                            margin-top: 10px;
                        }
                    }
                    .fItem {
                        width: 90%;
                        height: 50px;
                        display: flex;
                        justify-content: space-around;
                        align-items: center;
                    }
                    >p {
                        width: 90%;
                        display: flex;
                        justify-content: flex-end;
                    }
                }
                .children {
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    .form {
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        .fItem {
                            width: 700px;
                            height: 50px;
                            display: flex;
                            justify-content: space-around;
                            align-items: center;
                        }
                        TextArea {
                            width: 700px;
                            height: 142px;
                            margin-top: 10px;
                        }
                        >p {
                            width: 90%;
                            display: flex;
                            justify-content: flex-end;
                        }
                    }
                    >p:nth-child(1) {
                        height: 40px;
                        align-items: center;
                        display: flex;
                        margin-left: 50px;
                        span:nth-child(1) {
                            display: inline-block;
                            width: 30px;
                            height: 30px;
                            border-radius: 50%;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            color: white;
                            margin-right: 10px;
                            font-size: 18px;
                        }
                        span:nth-child(2) {
                            font-size: 15px;
                            font-weight: 600;
                            margin-right: 10px;
                        }
                        span:nth-child(4) {
                            font-size: 15px;
                            font-weight: 700;
                            margin-left: 10px;
                        }
                    }
                    >p:nth-child(2) {
                        margin-left: 90px;
                        display: flex;
                        justify-content: flex-start; // word-wrap:break-word;
                        text-align: justify;
                        word-break: break-all;
                    }
                    >p:nth-child(3) {
                        margin-left: 90px;
                        color: #ccc;
                        font-size: 16px;
                        span:nth-child(2) {
                            margin-left: 5px;
                            font-size: 14px;
                            margin-right: 15px;
                        }
                        span:nth-child(3) {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
        .page {
            width: 100%;
            height: 56px;
            background-color: white;
            margin-top: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
    .bottom {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        >p {
            width: 100%;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;
        }
    }
}